package com.waverider.promotion.biz.manager;

import java.util.List;

import com.waverider.promotion.domain.PromotionDO;
import com.waverider.promotion.domain.RebateModel;

public interface FrontManager {

	Long ANNOUNCEMENT_TOTAL = 10L;
	Long GOODS_DISPLAY_TOTAL = 10L;
	/**
	 * 间隔15分钟，将缓存清空，单位秒
	 */
	int TTL = 15 * 60;

	List<PromotionDO> getPromotionByShopId(Long shopId);

	List<PromotionDO> getPromotionByShopId(Long shopId, Long total);

	List<RebateModel> getOrderByShopId(Long shopId);

	List<RebateModel> getOrderByShopId(Long shopId, Long total);
}
